package com.wyj;

import com.alibaba.nacos.spring.context.annotation.config.EnableNacosConfig;
import com.alibaba.nacos.spring.context.annotation.discovery.EnableNacosDiscovery;
import org.apache.dubbo.config.spring.context.annotation.EnableDubbo;
import org.apache.dubbo.config.spring.context.annotation.EnableDubboConfig;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

/**
 * TODO: 
 * 
 * @author wuyijie
 * @date 2022/1/14 9:27 PM
 */
@SpringBootApplication
@EnableDubbo
@EnableDubboConfig
@EnableNacosDiscovery
@EnableNacosConfig
public class ProviderApp {
    public static void main(String[] args) {
        SpringApplication.run(ProviderApp.class);
        System.out.println("Hello World!");
    }
}
